package com.tally.server.mapper;

import com.tally.server.domain.Exp;
import com.tally.server.domain.ExpExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExpMapper {
    long countByExample(ExpExample example);

    int deleteByExample(ExpExample example);

    int deleteByPrimaryKey(Integer userId);

    int insert(Exp record);

    int insertSelective(Exp record);

    List<Exp> selectByExample(ExpExample example);

    Exp selectByPrimaryKey(Integer userId);

    int updateByExampleSelective(@Param("record") Exp record, @Param("example") ExpExample example);

    int updateByExample(@Param("record") Exp record, @Param("example") ExpExample example);

    int updateByPrimaryKeySelective(Exp record);

    int updateByPrimaryKey(Exp record);
}